package com.server.model.all.file.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.model.all.base.BaseEntity;
import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("upload_file_log")
@Getter
@Setter
public class UploadFileLogEntity extends BaseEntity {
    /**
     *
     * @author LXC
     * @date 2022/6/17 21:32
     */
    @TableId(type = IdType.AUTO)
    private Long uploadFileLogId;

    /**
     * 相对路径(桶名/路径)
     * @author LXC
     * @date 2023/2/8 20:39
     */
    private String relativePath;

    /**
     * 大小(bit)
     * @author LXC
     * @date 2023/2/8 20:39
     */
    private Long size;

    /**
     * 上传的用户ID
     * @author LXC
     * @date 2023/2/8 20:39
     */
    private Long uploadUserId;

    /**
     * 上传的用户编码
     * @author LXC
     * @date 2023/2/8 20:39
     */
    private String uploadUserCode;

    /**
     * 文件编码
     * @author LXC
     * @date 2023/2/5 22:37
     */
    private String fileCode;

    /**
     * 来源 1.minio  2.华为OBS存储
     * @author LXC
     * @date 2023/2/10 13:55
     */
    private Integer source;

}
